//
//  HENavView.m
//  HealthFamily
//
//  Created by 吴欧 on 2020/10/19.
//  Copyright © 2020 honglutec. All rights reserved.
//

#import "HENavView.h"

@interface HENavView ()

@end

@implementation HENavView

 - (instancetype)initWithFrame:(CGRect)frame
 {
     self = [super initWithFrame:frame];
     if (self) {
         
         [self initUI];
     }
     return self;
 }

- (void)initUI {
    
    CGFloat offestH = kStatusBarHeight - 20;
    self.backgroundColor = CLightGrayColor;
    
    UIImageView *backView = [UIImageView new];
    [self addSubview:backView];
    backView.image = IMAGE_NAMED(@"home_title");
    
    backView.sd_layout
    .topEqualToView(self)
    .rightEqualToView(self)
    .leftEqualToView(self)
    .heightIs(97 + offestH);
}

@end
